package com.huawang.mdesign.model.service.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class BatchQueryElementDisplayDTO {

    @NotBlank(message = "projectId不能为空")
    private String projectId;

    @NotNull(message = "数据不能为空")
    @Size(min = 1,message = "数据不能为空")
    private List<String> instanceIds;
}
